#ifndef GLOBALHEADER_H
#define GLOBALHEADER_H
#include <GdiPlus.h>
#include <string>
#include <vector>
#include <math.h>
using namespace Gdiplus;
using namespace std;

#define RADIUS 9
//indentation of the draw area
#define DRAWINDENTATION 20
#define NODECOLOR 1
#define LINECOLOR 2
#define TYPEDIS 1
#define TYPEPPHEROMONE 2
#define INVALIDNODE -1

// #define  ALPHA 1.0    
// #define  BETA 2.0   
// #define  ROU 0.5     
// #define  Q 0.5
// #define  ANT_COUNT 6
// #define  IT_COUNT 5  
// #define  STARTNODE 1
// #define  ENDNODE 9


typedef int NODENUM;

typedef struct
{
	int x;
	int y;
}Point2d;

typedef struct Info
{
	NODENUM neighNum;
	float distance;
	float pheromone;
}NeighbourInfo;
typedef vector<NeighbourInfo> NeighbourInfoArray;

typedef struct
{
	pair<int, int> linePair;
	float Dis;
}Line;

#endif
